package com.cat.yygh.cmn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication//定义启动类
@ComponentScan("com.cat.yygh")//扫描当前类以及所以类的类的服务
@MapperScan("com.cat.yygh.cmn.mapper")//指定扫描mapper
public class ServiceCmnMainStarter {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCmnMainStarter.class,args);
    }
}
